const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  pathname: state => state.app.pathname,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.userName,
  hospitalName: state => state.user.hospitalName,
  iszzYTH: state => state.user.iszzYTH,
  appoContinuation: state => state.user.appoContinuation,
  userInfo: state => state.user.userInfo,
  appSetting: state => state.user.appSetting,
  patientInfo: state => state.patient.patientInfo,
  tags: state => state.user.tags,
  hisActivedIndex(state) {
    return state.patient.hisActivedIndex
  },
  isShowEditScedule: state => state.settings.isShowEditScedule,
  isCheckExamStatus: state => state.user.appSetting && state.user.appSetting.isCheckExamStatus,
  tempVisible: state => state.app.tempVisible,
  selectedPatientInfo: state => state.patient.selectedPatientInfo,
  filterPatientInfo: state => state.patient.filterPatientInfo,
  rowCurr: state => state.patient.rowCurr,
  cardId: state => state.patient.cardId,
  websoketIsOpen: state => state.app.websoketIsOpen,
  is_smk_btn_disable: state => state.app.is_smk_btn_disable,
  isContinuityNum: state => state.user.isContinuityNum,
  roomIsUseSelectOption: state => state.settings.roomIsUseSelectOption,
  gradeList: state => state.settings.gradeList,
  privacyLevelList: state => state.settings.privacyLevelList,
  appointTypeOptions: state => state.settings.appointTypeOptions,
  appointmentTypeOptions: state => state.settings.appointTypeOptions,
  hisTypeOptions: state => state.settings.hisTypeOptions,
  departmentOptions: state => state.settings.departmentOptions,
  medcineOptions: state => state.settings.medcineOptions,
  doctorListOptions: state => state.settings.doctorListOptions,
  depAreaOptions: state => state.settings.depAreaOptions,
  examnotice: state => state.user.examnotice,
  areaNameOptions: state => state.settings.areaNameOptions,
  setTimeTip: state => state.settings.setTimeTip,
  transportTypeOptions: state => state.settings.transportTypeOptions,
  transportToolsOptions: state => state.settings.transportToolsOptions,
  hisTypeOptions: state => state.settings.hisTypeOptions,
  wardNoOptions: state => state.settings.wardNoOptions.map(_item => _item.item),
  materialOptions: state => state.settings.materialOptions,
  gastroscopicMedicineOptions: state => state.settings.gastroscopicMedicineOptions,
  clientIP: state => state.user.clientIP
}
export default getters
